package com.ls.lserp.modules.setting.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;

public class CompanyUser extends DataEntity<CompanyUser> {

	private static final long serialVersionUID = 1L;
	// 人员组表
	private List<CompanyUser> userList = new ArrayList<CompanyUser>();
	// 职务表
	private List<CompanyUser> groupList = new ArrayList<CompanyUser>();
	// 角色信息表
	private List<CompanyUser> roleList = new ArrayList<CompanyUser>();
	// 组织集团表
	private List<CompanyUser> ognizationList = new ArrayList<CompanyUser>();
	// ID
	private Long id;
	//员工号
	private String userBarcode;
	// 用户姓
	private String firstNameEn;
	// 用户名
	private String lastNameEn;
	//用户姓名
	private String comUserName;
	// 登陆账号
	private String loginName;
	// 登陆密码
	private String password;
	// 性别
	private String sex;
	// 出生日期
	private Date birthDate;
	// 所在国家
	private String country;
	// 所在城市
	private String city;
	// 住址
	private String address;
	// 座机
	private String telNo;
	// 手机
	private String mobile;
	// 邮件
	private String email;
	// 传真
	private String faxNo;
	// 账户类型
	private Long userType;
	// 备注
	private String remarks;
	// 版本号
	private Long version;
	// 是否删除
	private Long delFlag;
	// 身份证号
	private String idientityCardNumber;
	// 角色名
	private String roleName;
	// 角色ID
	private Long roleId;
	// 角色ID
	private String searchRoleId;
	// 职务名称
	private String dutyName;
	// 职务ID
	private Long dutyId;
	// 职务ID
	private String searchDutyId;
	// 人员组名称
	private String groupName;
	// 人员组ID
	private Long groupId;
	// 人员组ID
	private String searchGroupId;
	// 
	private String companyName;
	// 机构ID
	private Long ognizationId;
	// 机构名称
	private String ognizationName;
	// A_OGNIZATION_USER_R 账户ID
	private int ognizationUserId;
	// A_OGNIZATION_USER_R 机构ID
	private int ognizationUser;
	// A_OGNIZATION_USER_R 职务ID
	private int ognizationDutyId;
	// A_USER_ROLE_R 账户角色ID
	private int loginUserId;
	// A_USER_ROLE_R 角色ID
	private int userRoleUserId;
	//A_GROUP_USER_R 账户ID
	private int groupUserId;
	//A_GROUP_USER_R GROUP_ID
	private int groupUserGroupId;
	// 0：查看 确认
	private String viewFlag;
	// 1：新建 编辑
	private String editFlag;
	// 工资类别
	private String payrollType;
	// 工资
	private BigDecimal payrollSum;
	
	/**
	 * @return the userBarcode
	 */
	public String getUserBarcode() {
		return userBarcode;
	}

	/**
	 * @param userBarcode the userBarcode to set
	 */
	public void setUserBarcode(String userBarcode) {
		this.userBarcode = userBarcode;
	}

	public List<CompanyUser> getOgnizationList() {
		return ognizationList;
	}

	public void setOgnizationList(List<CompanyUser> ognizationList) {
		this.ognizationList = ognizationList;
	}

	public List<CompanyUser> getGroupList() {
		return groupList;
	}

	public void setGroupList(List<CompanyUser> groupList) {
		this.groupList = groupList;
	}

	public List<CompanyUser> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<CompanyUser> roleList) {
		this.roleList = roleList;
	}

	public List<CompanyUser> getUserList() {
		return userList;
	}

	public void setUserList(List<CompanyUser> userList) {
		this.userList = userList;
	}

	public String getSearchRoleId() {
		return searchRoleId;
	}

	public void setSearchRoleId(String searchRoleId) {
		this.searchRoleId = searchRoleId;
	}

	public String getSearchDutyId() {
		return searchDutyId;
	}

	public void setSearchDutyId(String searchDutyId) {
		this.searchDutyId = searchDutyId;
	}

	public String getSearchGroupId() {
		return searchGroupId;
	}

	public void setSearchGroupId(String searchGroupId) {
		this.searchGroupId = searchGroupId;
	}

		public int getGroupUserId() {
		return groupUserId;
	}

	public void setGroupUserId(int groupUserId) {
		this.groupUserId = groupUserId;
	}

	public int getGroupUserGroupId() {
		return groupUserGroupId;
	}

	public void setGroupUserGroupId(int groupUserGroupId) {
		this.groupUserGroupId = groupUserGroupId;
	}

		public int getOgnizationDutyId() {
		return ognizationDutyId;
	}

	public void setOgnizationDutyId(int ognizationDutyId) {
		this.ognizationDutyId = ognizationDutyId;
	}

		public int getUserRoleUserId() {
		return userRoleUserId;
	}

	public void setUserRoleUserId(int userRoleUserId) {
		this.userRoleUserId = userRoleUserId;
	}

		public int getLoginUserId() {
		return loginUserId;
	}

	public void setLoginUserId(int loginUserId) {
		this.loginUserId = loginUserId;
	}



	public Long getOgnizationId() {
		return ognizationId;
	}

	public void setOgnizationId(Long ognizationId) {
		this.ognizationId = ognizationId;
	}

	public String getOgnizationName() {
		return ognizationName;
	}

	public void setOgnizationName(String ognizationName) {
		this.ognizationName = ognizationName;
	}



	public String getFirstNameEn() {
		return firstNameEn;
	}

	public void setFirstNameEn(String firstNameEn) {
		this.firstNameEn = firstNameEn;
	}

	public String getLastNameEn() {
		return lastNameEn;
	}

	public void setLastNameEn(String lastNameEn) {
		this.lastNameEn = lastNameEn;
	}

	public int getOgnizationUserId() {
		return ognizationUserId;
	}

	public void setOgnizationUserId(int ognizationUserId) {
		this.ognizationUserId = ognizationUserId;
	}

	public int getOgnizationUser() {
		return ognizationUser;
	}

	public void setOgnizationUser(int ognizationUser) {
		this.ognizationUser = ognizationUser;
	}

	

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelNo() {
		return telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFaxNo() {
		return faxNo;
	}

	public void setFaxNo(String faxNo) {
		this.faxNo = faxNo;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public long getVersion() {
		return version;
	}

	public void setVersion(long version) {
		this.version = version;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDutyName() {
		return dutyName;
	}

	public void setDutyName(String dutyName) {
		this.dutyName = dutyName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getViewFlag() {
		return viewFlag;
	}

	public void setViewFlag(String viewFlag) {
		this.viewFlag = viewFlag;
	}

	public String getEditFlag() {
		return editFlag;
	}

	public void setEditFlag(String editFlag) {
		this.editFlag = editFlag;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserType() {
		return userType;
	}

	public void setUserType(Long userType) {
		this.userType = userType;
	}



	public Long getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Long delFlag) {
		this.delFlag = delFlag;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getDutyId() {
		return dutyId;
	}

	public void setDutyId(Long dutyId) {
		this.dutyId = dutyId;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

	public String getComUserName() {
		return comUserName;
	}

	public void setComUserName(String comUserName) {
		this.comUserName = comUserName;
	}

	public String getIdientityCardNumber() {
		return idientityCardNumber;
	}

	public void setIdientityCardNumber(String idientityCardNumber) {
		this.idientityCardNumber = idientityCardNumber;
	}

	/**
	 * @return the payrollType
	 */
	public String getPayrollType() {
		return payrollType;
	}

	/**
	 * @param payrollType the payrollType to set
	 */
	public void setPayrollType(String payrollType) {
		this.payrollType = payrollType;
	}

	/**
	 * @return the payrollSum
	 */
	public BigDecimal getPayrollSum() {
		return payrollSum;
	}

	/**
	 * @param payrollSum the payrollSum to set
	 */
	public void setPayrollSum(BigDecimal payrollSum) {
		this.payrollSum = payrollSum;
	}

}